Cocktail Help Reference
Factory Property
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > IUnitOfWork<T> Interface : Factory Property



Glossary Item Box

The factory to create new entity instances.

Syntax

Visual Basic (Declaration) 
ReadOnly Property Factory As IFactory(Of T)
Visual Basic (Usage)Copy Code
Dim instance As IUnitOfWork(Of T)
Dim value As IFactory(Of T)
 
value = instance.Factory
C# 
IFactory<T> Factory {get;}
C++/CLI 
property IFactory<T^>^ Factory {
   IFactory<T^>^ get();
}

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.